package com.soledroid.Model;



public class Comment {
	
	protected int id;
	protected int type;
	protected String comment;
	protected int rating;
	protected int userId;
	protected int toId;
	
	public Comment(int id, int type, String comment, int rating, int userId,
			int toId) {
		super();
		this.id = id;
		this.type = type;
		this.comment = comment;
		this.rating = rating;
		this.userId = userId;
		this.toId = toId;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getToId() {
		return toId;
	}

	public void setToId(int toId) {
		this.toId = toId;
	}
	
	
	
	public int getRating() {
		return rating;
	}

	public void setRating(int rating) {
		this.rating = rating;
	}

	public String toString(){
		return comment;
	}
}
